package com.sgb.kjwl.view.ui.adapter.self.packers;

import android.content.Context;

import com.sgb.kjwl.BR;
import com.sgb.kjwl.R;
import com.sgb.kjwl.model.entity.supplier3.SupplierEntity3;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

/**
*@author younghow
*@date 2021/9/7
*description:工队相册第一个adapter(外层)
*/
public class TeamAlbumAdapter extends BaseRecycleAdapter<SupplierEntity3> {

    public TeamAlbumAdapter(Context context, List<SupplierEntity3> data) {
        super(context, R.layout.item_team_albums, data);
    }

    @Override
    public void convert(ItemViewHolder holder, final SupplierEntity3 entity) {
        holder.setBinding(BR.viewModel, entity);
    }

}
